package com.iotek.ssm.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 员工绩效类
 */
public class Performance {
    private Integer id;
    private Resume resume;
    private Float performance;//绩效奖金
    private Date grantMonth;//绩效时间

    public void setId(Integer id) {
        this.id = id;
    }

    public void setResume(Resume resume) {
        this.resume = resume;
    }

    public void setPerformance(Float performance) {
        this.performance = performance;
    }

    public void setGrantMonth(Date grantMonth) {
        this.grantMonth = grantMonth;
    }

    public Integer getId() {
        return id;
    }

    public Resume getResume() {
        return resume;
    }

    public Float getPerformance() {
        return performance;
    }

    public Date getGrantMonth() {
        return grantMonth;
    }

    @Override
    public String toString() {
        return "Performance{" +
                "id=" + id +
                ", resume=" + resume +
                ", performance=" + performance +
                ", grantMonth=" + grantMonth +
                '}';
    }
}
